#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int my_strlen(char *arr)
{
	int len = 0;
	while (*arr != '\0')
	{
		len++;
		arr++;
	}
	return len;
}

int main()
{
	char arr[100] = { 0 };
	gets(arr);
	int len = my_strlen(arr);
	printf("%d\n", len);
	return 0;
}